from django.contrib import admin
from models import Message,User, FetchMessageLog

class MessageAdmin(admin.ModelAdmin):
  list_display = ('published_at', '__unicode__')
  list_filter = ('keyword',)
  ordering = ('-published_at',)

class UserAdmin(admin.ModelAdmin):
  pass

admin.site.register(User, UserAdmin)
admin.site.register(Message, MessageAdmin)
admin.site.register(FetchMessageLog)
